<?php /* Smarty version 2.6.13, created on 2013-10-09 20:00:34
         compiled from Admin/toolBar.html */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="Public/Css/index.css"/>
<script type="text/javascript" src="../Public/Js/jquery.js"></script>
<script type="text/javascript">
	function imgClick(ulNum,imgNum){
		//判断相应ul的display属性的值
		var noneORinline = $("#ul-"+ulNum).css("display");
		if(noneORinline == "none"){
			//点击图片时，慢慢显示二级列表
			$("#ul-"+ulNum).show("slow");
			//同时换掉列表项前面的图标为slideUp.jpg
			$("#img"+imgNum).attr("src","Public/Images/slideUp.jpg");
		}else{
			$("#ul-"+ulNum).hide("slow");
			$("#img"+imgNum).attr("src","Public/Images/slideDown.jpg");
		}
	}
</script>
</head>
<body style="background:#f0f0f0">
<div class="leftFrame">
	<ul>
		<!-- 部分只有超级管理员才会显示 -->
		
		<li id="li-2"><div id="barBar" onclick="imgClick(1,1);"><img  id="img1" src="Public/Images/slideDown.jpg" />管理员管理(OK)</div>
			<ul id="ul-1">
			<?php if ($this->_tpl_vars['isSuper'] == 1): ?>
			<li><img  src="Public/Images/slideDown.jpg" /><a href="../Tpl/Admin/adminDirection.html" target="mainWin">管理员说明</a></li>
			<li><img  src="Public/Images/slideDown.jpg" /><a href="./AdminM/AdminM.php" target="mainWin">管理员管理</a></li>
			<li><img src="Public/Images/slideDown.jpg" /><a href="./AdminM/AddAdmin.php?flag=display" target="mainWin">添加管理员</a></li>
			<?php endif; ?>
				<li><img src="Public/Images/slideDown.jpg" /><a href="./AdminM/ChangeAdminPwd.php?flag=display" target="mainWin">密码修改</a></li>
				<li><img src="Public/Images/slideDown.jpg" /><a href="./AdminM/AdminOut.php" target="_parent">退出系统</a></li>
			</ul>
		</li>
		<li id="li-2"><div id="barBar" onclick="imgClick(2,2);"><img id="img2" src="Public/Images/slideDown.jpg" />用户管理中心</div>
			<ul id="ul-2">
				<li><img src="Public/Images/slideDown.jpg" /><a href="./UserM/UserM.php" target="mainWin">管理用户</a></li>
			</ul>
		</li>
		<li id="li-2"><div id="barBar" onclick="imgClick(8,8);"><img id="img8" src="Public/Images/slideDown.jpg" />产品管理中心(OK)</div>
			<ul id="ul-8">
			
				<li><img src="Public/Images/slideDown.jpg" /><a href="./ProM/ProInsert.php?flag=display" target="mainWin">添加产品</a></li>
			
				<li><img src="Public/Images/slideDown.jpg" /><a href="./ProM/ProM.php?flag=display" target="mainWin">管理产品</a></li>
			</ul>
		</li>
		<li id="li-2"><div id="barBar" onclick="imgClick(9,9);"><img id="img9" src="Public/Images/slideDown.jpg" />菜谱管理中心(OK)</div>
			<ul id="ul-9">
				<li><img src="Public/Images/slideDown.jpg" /><a href="./Menu/MenuInsert.php?flag=display" target="mainWin">添加菜谱</a></li>
				<li><img src="Public/Images/slideDown.jpg" /><a href="./Menu/Menu.php?flag=display" target="mainWin">管理菜谱</a></li>
			</ul>
		</li>
		
		<li id="li-2"><div id="barBar" onclick="imgClick(6,6);"><img id="img6" src="Public/Images/slideDown.jpg" />合作加盟管理(OK)</div>
			<ul id="ul-6">
				<?php if ($this->_tpl_vars['isInsert'] == 1): ?>
				<li><img src="Public/Images/slideDown.jpg" /><a href="./CpM/InsertCp.php?flag=display" target="mainWin">添加合作伙伴</a></li>
				<?php endif; ?>
				<li><img src="Public/Images/slideDown.jpg" /><a href="./CpM/CpM.php" target="mainWin">合作伙伴管理</a></li>
			</ul>
		</li>
		

		<li id="li-2"><div id="barBar" onclick="imgClick(4,4);"><img  id="img4" src="Public/Images/slideDown.jpg" />友情链接管理(OK)</div>
			<ul id="ul-4">
				<li><img  src="Public/Images/slideDown.jpg" /><a href="./FlinkM/FlinkInsert.php?flag=display" target="mainWin">添加友情链接</a></li>
								<li><img  src="Public/Images/slideDown.jpg" /><a href="./FlinkM/FlinkM.php?flag=display" target="mainWin">友情链接管理</a></li>
			</ul>
		</li>
		<li id="li-2"><div id="barBar" onclick="imgClick(7,7);"><img  id="img7" src="Public/Images/slideDown.jpg" />广告管理(OK)</div>
			<ul id="ul-7">
				<li><img  src="Public/Images/slideDown.jpg" /><a href="./AdvM/AdvInsert.php?flag=display" target="mainWin">添加广告</a></li>
				<li><img  src="Public/Images/slideDown.jpg" /><a href="./AdvM/AdvM.php?flag=display" target="mainWin">广告管理</a></li>
			</ul>
		</li>
		<li id="li-2"><div id="barBar" onclick="imgClick(5,5);"><img  id="img5" src="Public/Images/slideDown.jpg" />关于我们(OK)</div>
			<ul id="ul-5">
				<li><img  src="Public/Images/slideDown.jpg" /><a href="AboutUs/AboutUsChange.php?flag=display" target="mainWin">修改关于我们</a></li>
			</ul>
		</li>
	</ul>
</div>
</body>
</html>